package mr.ali.webvideo.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr-ali
 * @since 2025-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("collection_trailer")
public class CollectionTrailer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("content")
    private String content;

    @TableField("video_url")
    private String videoUrl;

    @TableField("image_url")
    private String imageUrl;

    @TableField("type")
    private Integer type;

    @TableField("yurt")
    private Integer yurt;

    @TableField("release_date")
    private String releaseDate;

    @TableField("displayed")
    private Integer displayed;

    @TableField("gmt_create")
    private Long gmtCreate;

    @TableField(exist = false)
    private List<CollectionTag> tags ;

    @TableField(exist = false)
    private CollectionYurt yurts ;
}
